-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add jq
from official jq
docker container
#6
Open
chmuche
wants to merge
3
commits into
CleverCloud:master
Choose a base branch
from
chmuche:chmuche-feat-jq
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Work on my CI/CD pipeline. |
Add curl binary : - missing in busybox:glibc . Add cert to avoid `curl: (77) error setting certificate file: /etc/ssl/certs/ca-certificates.crt`
Hello @hsablonniere or @miton18 can you review this PR ? Fix the issue #5 And most of all allow to use $ docker run -e CLEVER_TOKEN=$CLEVER_TOKEN -e CLEVER_SECRET=$CLEVER_SECRET clevercloud/clever-tools:latest curl https://api.clever-cloud.com/v2/self
node:events:491
throw er; // Unhandled 'error' event
^
Error: spawn curl ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:289:12)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn curl',
path: 'curl',
spawnargs: [
'https://api.clever-cloud.com/v2/self',
'-H',
'Authorization: OAuth oauth_consumer_key="T5nFjKeHH4AIlEveuGhB5S3xg8T19e", oauth_nonce="eCev8nONFpQlyf57JIVnOWqUcinkkISb", oauth_signature="jz4edDcBlLS4SFItqFEi1egdwSY6k7%2BKOwV4up28lk9G76d6RUA5a4rHCeGAridDk%2BAOZOqc1YoLw5TRhCM0YQ%3D%3D", oauth_signature_method="HMAC-SHA512", oauth_timestamp="1714757435", oauth_token="1ac21a4387d24baf8c082da73f7b17ba", oauth_version="1.0"'
]
}
Node.js v18.15.0 With my PR $ docker run -e CLEVER_TOKEN=$CLEVER_TOKEN -e CLEVER_SECRET=$CLEVER_SECRET clevertools:local curl https://api.clever-cloud.com/v2/self
<result json ok> And add |
Hello, did I do something wrong with my PR ? |
miton18
added a commit
to CleverCloud/clever-tools
that referenced
this pull request
Jul 5, 2024
This is the work of @chmuche CleverCloud/clever-tools-dockerhub#6 but applied on the dockertemplate
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to CleverCloud/clever-tools#736